package org.kzwl.service.app;

import com.baomidou.mybatisplus.extension.service.IService;
import org.kzwl.entity.app.Verification;

public interface VerificationService  extends IService<Verification> {


    /**
     * 添加验证码
     * @param phone
     * @param code
     */
    void insetCode(String phone, String code);

    /**
     * 修改验证码状态
     * @param phone
     * @param code
     */
    void updateCode(String phone, String code);

    /**
     * 修改验证码
     * @param phone
     * @param code
     */
    void setCode(String phone, String code);

    /**
     * 获取验证码
     * @param phone
     * @param
     */
    Verification getCode(String phone);


}
